import { PetListRenderer } from "../PetListRenderer";
import { SPetInfo } from "../../../../../Message/Game/SPetInfo";
import { Dispatcher } from "../../../../mvc/core/Dispatcher";
import { DataEvent } from "../../../events/DataEvent";
import { PetEventName } from "../PetEventName";
//class PetLifespanRenderer
    
    export  class PetLifespanRenderer extends PetListRenderer
    {
        constructor()
        {
            super();
            return;
        }

        protected /* override */ dealSelected(arg1: SPetInfo): void
        {
            Dispatcher.dispatchEvent(new DataEvent(PetEventName.PetLifespanRendererClick, arg1));
            return;
        }
    }
